package com.lovi.user.service;

import com.lovi.param.PageParam;
import com.lovi.param.UserCheckParams;
import com.lovi.param.UserLoginParams;
import com.lovi.pojo.User;
import com.lovi.utils.R;

public interface UserService {
    //校验账号是否可用
    public R checkUserAccount(UserCheckParams userCheckParams);

    R register(User user);

    R login(UserLoginParams userLoginParams);

    R listPage(PageParam pageParam);

    R removeUser(Integer userId);

    R updateUser(User user);

    R saveUser(User user);
}

